package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.Health;

public interface HealthDAO extends CrudRepository<Health, Integer>{

	@Query("SELECT h FROM Health h  where h.healthNo=?1")
	public Health findbyHealthId(Integer HealthNo);
}
